cmake_minimum_required(VERSION 3.22)
project(webserver)

set(CMAKE_CXX_STANDARD 17)

add_executable(webserver main.cpp Channel.cpp Channel.h Buffer.cpp Buffer.h Dispatcher.cpp Dispatcher.h EventLoop.cpp EventLoop.h EpollDispatcher.cpp EpollDispatcher.h ThreadPool.cpp ThreadPool.h WorkerThread.cpp WorkerThread.h TcpConnection.cpp TcpConnection.h TcpServer.cpp TcpServer.h HttpRequest.cpp HttpRequest.h HttpResponse.cpp HttpResponse.h)
